#ifndef _ML_DATASET_TXT_FILE_SAVER_H_
#define _ML_DATASET_TXT_FILE_SAVER_H_
#include "MLCommon.h"
#include "MLDataSet.h"
_MYLABLIB_BEGIN

class CMLTools_TxtFileSaver
{
public:
	CMLTools_TxtFileSaver(void);
	~CMLTools_TxtFileSaver(void);

public:
	// Methods
	int  Initialize(const std::wstring& wstrFileName, int bAppend = false);
	int  Save(const CMLDataSet& dataSet);
	void Close();

private:
	// Fields
	std::wofstream m_FileStream;

};

_MYLABLIB_END
#endif
